<?php
include_once __DIR__ . '/../autoload.php';
use carrito\Carrito;
//include_once __DIR__ . '/../clases/carrito/Carrito.php';
include_once dirname(dirname(__FILE__)) . '/filtro_admin.php';
include_once dirname(dirname(__FILE__)) . '/funciones/basicas.php';
include_once dirname(dirname(__FILE__)) . '/funciones/funcionescarrito.php';

?>
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<?php include_once dirname(dirname(__FILE__)) . '/header.php' ?>
<body style="margin-top:0px">
<?php
if(isset($_GET['linea']))
{
    $_SESSION["carrito_factura"]->elimina_producto($_GET['linea']);
}
imprime_carrito($_SESSION["carrito_factura"]);
?>		
</body>
</html>
